d/tests: Only test under X11 for now
authorSimon McVittie <smcv@debian.org>
Sun, 9 Aug 2020 13:42:54 +0000 (14:42 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 9 Aug 2020 13:42:54 +0000 (14:42 +0100)
debian/tests/build
debian/tests/installed-tests
debian/tests/installed-tests-flaky
debian/tests/python3-gi

index 50749ba387e00cd2bc530fd6cc6b2dd1a09c6cc8..c99c2e4d4176e57066f54ab864b3687ff2010d67 100755 (executable)
@@ -11,6 +11,10 @@ set -e
 set -u
 set -x
 
+# We don't test under Wayland yet, because we don't have a Wayland
+# equivalent of xvfb-run
+export GDK_BACKEND=x11
+
 WORKDIR=$(mktemp -d)
 cleanup () {
     rm -fr "$WORKDIR"
index 694b6e3df94160f39b0e57e09b1696f0f35fadd5..126cabba91723b315ee88c49bf7fc38565248b11 100755 (executable)
@@ -11,6 +11,10 @@ export GIO_USE_VOLUME_MONITOR=unix
 
 export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
 
+# We don't test under Wayland yet, because we don't have a Wayland
+# equivalent of xvfb-run
+export GDK_BACKEND=x11
+
 tests=$(gnome-desktop-testing-runner -l gtk-4.0 |
     cut -f1 -d' ' |
     grep -v '^gtk-4.0/a11y/children.test$' |
index 6e90185d273d1ddc45a4349b7d48a268656fd533..94e127e71158a6f90b2f91261fe56b6c43905327 100755 (executable)
@@ -11,6 +11,10 @@ export GIO_USE_VOLUME_MONITOR=unix
 
 export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
 
+# We don't test under Wayland yet, because we don't have a Wayland
+# equivalent of xvfb-run
+export GDK_BACKEND=x11
+
 exec dbus-run-session -- \
 xvfb-run -a -s "-screen 0 1024x768x24" \
 debian/run-with-locales \
index 85a914c46b71156b47a90200a1058197c14d26f7..437346d6bab2feea2a8ca460e0ec42e896b42d17 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+# We don't test under Wayland yet, because we don't have a Wayland
+# equivalent of xvfb-run
+export GDK_BACKEND=x11
+
 xvfb-run -a -s "-screen 0 1024x768x24" \
 python3 <<EOF
 from gi.repository import GLib, Gtk